home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18134 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news.cs.uoregon.edu!cgay
  2. From: cgay@suffix.cs.uoregon.edu (Carl L. Gay)
  3. Newsgroups: comp.lang.java,comp.lang.c++
  4. Subject: Re: Will Java kill C++?
  5. Date: 19 Apr 96 01:00:18 GMT
  6. Organization: Amalgamated Consolidated, Incorporated
  7. Message-ID: <CGAY.96Apr18180018@suffix.cs.uoregon.edu>
  8. References: <31682FFE.2781E494@bbn.com> <DpJyGG.FKK@hkuxb.hku.hk>
  9. NNTP-Posting-Host: suffix.cs.uoregon.edu
  10. In-reply-to: h9290246@hkuxa.hku.hk's message of Mon, 8 Apr 1996 16:43:27 GMT
  11.  
  12.  
  13. [comp.lang.smalltalk removed since it appears to have nothing to do
  14.  with this topic except that it has GC]
  15.  
  16.    Joe Kraska (jkraska@bbn.com) wrote:
  17.    >I agree with this setiment whole-heartedly! I recently interviewed a
  18.                       ^^^^^^^^ you mean sediment, right?
  19.    >graduating cs major, who claimed to be 'very good' with C programming.
  20.    >This naturally led me to probe into his knowledge of dynamic memory
  21.    >allocation, because mastery of dynamic memory is what seperates good
  22.    >programmers from bad ones in C.
  23.    >
  24.    >My first question was 'show me how to allocate an array of pointers to
  25.    >strings'. His response was, 'huh?'. 
  26.  
  27. His first response should have been: "C doesn't have strings."
  28.  
  29.                     After asking a few more questions
  30.    >it turned out he understood dynamic memory not at all. Amazing to me
  31.    >how you could get through a CS program in todays world without learning
  32.    >linked lists, hash tables, b trees, ad nauseum. But so it was.
  33.  
  34. Implementing data structures such as these doesn't pose particularly
  35. hard problems relating to by-hand memory management.  Building a large
  36. system is where the problems arise.  (Not that that excuses his/her
  37. ignorance.)
  38.  
  39.    >There are, of course, many working professionals out there who use C
  40.    >but really don't understand dynamic memory. Maybe JAVA is for them. The
  41.    >dumb-down language of the 90's.
  42.  
  43. What is your point?  It is obvious that a machine can (be programmed
  44. to) do memory management with fewer errors, and (less obviously) in
  45. some cases faster than humans.  In my opinion that makes someone who
  46. choses a language with automatic memory management smart, not dumb.
  47. (Many of your fellow BBNers use such languages, by the way.)
  48.  
  49.